part of 'theme.dart';

class CoreTextTheme {
  const CoreTextTheme._internal({
    required this.headerSigningInButtonTitle,
    required this.headerSigningUpButtonTitle,
    required this.headerAngryWordsProRegularButtonTitle,
    required this.headerAngryWordsProCompactButtonTitle,
    required this.headerUserActionDialogActionTileTitle,
    required this.headerLogoButtonTitle,
  });

  factory CoreTextTheme.dark({
    required Color primaryContrastingColor,
    required Color secondaryContrastingColor,
  }) {
    return CoreTextTheme._internal(
      headerSigningInButtonTitle: CoreStyles.headerSigningInButtonTitleTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
      headerSigningUpButtonTitle: CoreStyles.headerSigningUpButtonTitleTextStyle.copyWith(
        color: secondaryContrastingColor,
      ),
      headerAngryWordsProRegularButtonTitle:
          CoreStyles.headerAngryWordsProRegularButtonTitleTextStyle.copyWith(
        color: primaryContrastingColor,
      ),
      headerAngryWordsProCompactButtonTitle:
          CoreStyles.headerAngryWordsProCompactButtonTitleTextStyle.copyWith(
        color: primaryContrastingColor,
      ),
      headerUserActionDialogActionTileTitle:
          CoreStyles.headerUserActionDialogActionTileTitleTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
      headerLogoButtonTitle: CoreStyles.headerLogoButtonTitleTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
    );
  }

  final TextStyle headerSigningInButtonTitle;
  final TextStyle headerSigningUpButtonTitle;
  final TextStyle headerAngryWordsProRegularButtonTitle;
  final TextStyle headerAngryWordsProCompactButtonTitle;
  final TextStyle headerUserActionDialogActionTileTitle;
  final TextStyle headerLogoButtonTitle;
}
